Calendar for WinForms | ComponentOne
C1.Framework Namespace / SR<T> Class / GetString Method / GetString(String,Object[]) Method
Name of the resource to get.
An Object array containing zero or more objects to be formatted.

In This Topic
    GetString(String,Object[]) Method
    In This Topic
    Returns the value of the resource with the specified name in the assembly indicated by the template type and returns the formated string that replaced the format specification in the String with the textual equivalent of the value of a corresponding Object instance in a specified array.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetString( _
       ByVal name As String, _
       ByVal ParamArray args() As Object _
    ) As String
    public static string GetString( 
       string name,
       params object[] args
    )

    Parameters

    name
    Name of the resource to get.
    args
    An Object array containing zero or more objects to be formatted.

    Return Value

    The formated value of a resource.
    See Also